package com.hhh.springai_test.config;

import org.springframework.ai.zhipuai.ZhiPuAiChatOptions;
import org.springframework.ai.zhipuai.api.ZhiPuAiApi;
import org.springframework.context.annotation.Bean;

public class TongYIApiConfig {
    

    @Bean
    public ZhiPuAiChatOptions zhiPuAiChatOptions() {
        return ZhiPuAiChatOptions.builder()
                .withModel("GLM-4-Flash")
                .withTemperature(0.95F)
                .build();
    }
    
}
